New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
St7735 t4 rewrite #4
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Clipping is fixed but fonts broken
Needed to move button implementation into header file to remove issue of duplicate code being compiled and linked in...
Needed to move button implementation into header file to remove issue of duplicate code being compiled and linked in sketch if Adafruit_GFX is called from with the sketch.
writecommand_last did not look at if it was hwspi or not so it walked through null ptr...
Compiles and links if Adafruit_GFX is included
Before this would always go to bitbang... But with this one, it uses _pspi->transfer() if it detects this. Also sped up, that if we call transfer16, have new function spiwrite16, that if possible calls _pspi->transfer16() which speeds things up...
…ut_hardware_dc T3.x SPI pins MOSI/SCK not DC...
The constructor was not called to initialize the object correctly... So made them static (like they are in ili9341_t3n). But T3.6 has enough memory for more than one of these, so I allow DMA on each of the SPI busses. So I statically allocate 3 groups of them.
T3.6 did not work with DMASettings in object
… into ST7735_T4_rewrite
Still need to figure out properly how to handle the y cursor for the three different font types... But It is starting to work.
More support of Adafruit font. Add ability to set Text size different for X and Y Add getTextBounds to allow you to get bounds of text. Original from Adafruit, Added support for our fonts, slightly different values than strPixelLen. Keywords updated
It was supposed to go to the two size version... So will infinite recurse
Make sure gfxFont NULL at constructor
T4 rewrite adafruit fonts
Added the code from the ILI9341_t3n library to support opaque text output. Also fixed a hang as drawFastHLine was not offsetting and was not using the clip rectangle which caught a -1 value on ILI9341_t3n...
GFX Fonts support for Opaque output
Problem was in this case a member variable was not init to the count of pixels. Which we use in frame buffer mode...
Fix bug of calling setFrameBuffer
Closing this inorder to rebaseline to avoid erroneous comparison errors |
PaulStoffregen
pushed a commit
that referenced
this pull request
Jan 4, 2023
created dot_a_linkage and Updated for multiple displays usuage
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Paul
This rewrite of the ST7735 library mirrors the DMA_LOW changes that were submitted by Kurte with additional changes that makes it look like that of the ILI9341_t3n library. In other words it takes out most of the dependency on the Adafruit GFX library graphic primitives and updates them with the new library for framebuffer support as appropriate.
Mike